package net.dopan.pigframe.oss.service.impl;

import net.dopan.pigframe.core.base.service.impl.BaseServiceImpl;
import net.dopan.pigframe.oss.mapper.OSSMapper;
import net.dopan.pigframe.oss.model.entity.OSS;
import net.dopan.pigframe.oss.service.OSSService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Package: net.dopan.pigframe.oss.service.impl
 * @Title: OSSServiceImpl
 * @Description: OSS
 * @author: 刘宽
 * @date: 2018/8/15 17:03
 */
@Service("ossService")
public class OSSServiceImpl extends BaseServiceImpl<OSSMapper, OSS> implements OSSService {

    @Autowired
    private OSSMapper ossMapper;

    @Override
    public boolean deleteByIds(Long id, String ids) {
        ossMapper.updateDeleteById(id, ids);
        return true;
    }

}
